﻿using System;

using System.Collections.Generic;
using System.Text;

namespace Handrise.CDCable.Mobile.UI
{
   public class Task
    {

        /// <summary>
        /// 设备标识
        /// </summary>
        private string deviceID;
        /// <summary>
        /// 收报人

        /// </summary>
        private string accepter;
        /// <summary>
        /// 典型事故
        /// </summary>
        private string accident;
        /// <summary>
        /// 故障设备
        /// </summary>
        private string equipment;
        /// <summary>
        /// 事件标识
        /// </summary>
        private string performID;
        /// <summary>
        /// 故障描述
        /// </summary>
        private string faultDesc;
        /// <summary>
        /// 纬度
        /// </summary>
        private double latitude;
        /// <summary>
        /// 经度
        /// </summary>
        private double longitude;
        /// <summary>
        /// 操作步骤
        /// </summary>
        private string operStep;
        private DateTime sendDateTime;
       private DateTime beginDateTime;
        /// <summary>
        /// 发报人

        /// </summary>
        private string sender;
        /// <summary>
        /// 任务状态

        /// </summary>
        private string state;
        /// <summary>
        /// 任务编号
        /// </summary>
        private string taskID;
        /// <summary>
        /// 任务编号
        /// </summary>
        private string taskNO;
        /// <summary>
        /// 任务标题
        /// </summary>
        private string taskTitle;
        /// <summary>
        /// 执行人名称

        /// </summary>
        private string userName;

        public Task()
        {

        }
        /// <summary>
        /// 设备标识
        /// </summary>
        public string DeviceID
        {
            get
            {
                return deviceID;
            }
            set
            {
                deviceID = value;
            }
        }
        /// <summary>
        /// 收报人

        /// </summary>
        public string Accepter
        {
            get
            {
                return accepter;
            }
            set
            {
                accepter = value;
            }
        }


        public DateTime SendDateTime
        {
            get
            {
                return sendDateTime;
            }
            set
            {
                sendDateTime = value;
            }
        }
        public DateTime BeginDateTime
        {
            get
            {
                return beginDateTime;
            }
            set
            {
                beginDateTime = value;
            }
        }

    
        /// <summary>
        /// 任务标题
        /// </summary>
        public string TaskTitle
        {
            get
            {
                return taskTitle;
            }
            set
            {
                taskTitle = value;
            }
        }

        /// <summary>
        /// 故障设备
        /// </summary>
        public string Equipment
        {
            get
            {
                return equipment;
            }
            set
            {
                equipment = value;
            }
        }

        /// <summary>
        /// 事件标识
        /// </summary>
        public string PerformID
        {
            get
            {
                return performID;
            }
            set
            {
                performID = value;
            }
        }

        public string Accident
        {
            get
            {
                return accident;
            }
            set
            {
                accident = value;
            }
        }

        public string FaultDesc
        {
            get
            {
                return faultDesc;
            }
            set
            {
                faultDesc = value;
            }
        }

        public double Latitude
        {
            get
            {
                return latitude;
            }
            set
            {
                latitude = value;
            }
        }

        public double Longitude
        {
            get
            {
                return longitude;
            }
            set
            {
                longitude = value;
            }
        }

        public string OperStep
        {
            get
            {
                return operStep;
            }
            set
            {
                operStep = value;
            }
        }



        /// <summary>
        /// 发报人

        /// </summary>
        public string Sender
        {
            get
            {
                return sender;
            }
            set
            {
                sender = value;
            }
        }
        /// <summary>
        /// 任务状态

        /// </summary>
        public string State
        {
            get
            {
                return state;
            }
            set
            {
                state = value;
            }
        }

        /// <summary>
        /// 任务编号
        /// </summary>
        public string TaskID
        {
            get
            {
                return taskID;
            }
            set
            {
                taskID = value;
            }
        }

        /// <summary>
        /// 任务编号
        /// </summary>
        public string TaskNO
        {
            get
            {
                return taskNO;
            }
            set
            {
                taskNO = value;
            }
        }



        /// <summary>
        /// 执行人名称

        /// </summary>
        public string UserName
        {
            get
            {
                return userName;
            }
            set
            {
                userName = value;
            }
        }
 
    }
}
